package jdbc.Model;

public class whb {
    private int id;
    private String userCode;
    private String userName;
    private String userPassword;


    public whb() {
    }

    public whb(int id, String userCode, String userName, String userPassword) {
        this.id = id;
        this.userCode = userCode;
        this.userName = userName;
        this.userPassword = userPassword;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return userCode
     */
    public String getUserCode() {
        return userCode;
    }

    /**
     * 设置
     * @param userCode
     */
    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    /**
     * 获取
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     * @return userPassword
     */
    public String getUserPassword() {
        return userPassword;
    }

    /**
     * 设置
     * @param userPassword
     */
    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String toString() {
        return "whb{id = " + id + ", userCode = " + userCode + ", userName = " + userName + ", userPassword = " + userPassword + "}";
    }
}
